package com.healthcloud.utils;

import java.util.Arrays;

public class SignatureUtils {

    public static  String getAicareSign(String method,String accessToken,String timestamp){
        String arr[] = {method,accessToken, timestamp};
        Arrays.sort(arr);
        StringBuilder content = new StringBuilder();
        for(String s:arr) {
            content.append(s);
        }
        String signature= MD5Util.MD5Encode(content.toString()).toUpperCase();
        return signature;

    }
}
